//
//  SystemDefine.h
//  myShopApp
//
//  Created by Administrator on 15/3/7.
//  Copyright (c) 2015年 cxh. All rights reserved.
//

#ifndef myShopApp_SystemDefine_h
#define myShopApp_SystemDefine_h


//全局代理
#define APPDELEGATE ((AppDelegate*)[[UIApplication sharedApplication] delegate])

//当前屏幕高度
#define currentScreenHeight ((currentSystemVersion >= 7.0) ? ([UIScreen mainScreen].bounds.size.height) : ([UIScreen mainScreen].bounds.size.height - 20))

//当前屏幕宽度
#define currentScreenWidth ([UIScreen mainScreen].bounds.size.width)

//当前系统版本号
#define currentSystemVersion [[UIDevice currentDevice].systemVersion floatValue]

#endif
